package com.example.innovate.mapper;

import com.example.innovate.domain.AchievementCompetitionDO;
import com.example.innovate.domain.AchievementCompetitionDOExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
@Mapper
public interface AchievementCompetitionDOMapper {
    int countByExample(AchievementCompetitionDOExample example);

    int deleteByExample(AchievementCompetitionDOExample example);

    int deleteByPrimaryKey(Integer comId);

    int insert(AchievementCompetitionDO record);

    int insertSelective(AchievementCompetitionDO record);

    List<AchievementCompetitionDO> selectByExample(AchievementCompetitionDOExample example);

    AchievementCompetitionDO selectByPrimaryKey(Integer comId);

    int updateByExampleSelective(@Param("record") AchievementCompetitionDO record, @Param("example") AchievementCompetitionDOExample example);

    int updateByExample(@Param("record") AchievementCompetitionDO record, @Param("example") AchievementCompetitionDOExample example);

    int updateByPrimaryKeySelective(AchievementCompetitionDO record);

    int updateByPrimaryKey(AchievementCompetitionDO record);
}